package com.qumitech.visualnovel.service.account;

import com.qumitech.visualnovel.model.dao.console.SysRole;

import java.util.List;

public interface SysRoleService {

    List<SysRole> getSysRoleList(int offset, int pageSize, String orderBy, String orderType);

    int getSysRoleCount();

    SysRole getSysRoleById(int id);

    int insertSysRole(String roleName, String description, boolean available);

    SysRole getSysRoleByRoleName(String roleName);

    int UpdateBySysRole(SysRole sysRole);

    int deleteByPrimaryKey(int roleId);
}
